package com.jd.org.mapper;

import com.jd.basic.mapper.BaseMapper;
import com.jd.org.domain.Employee;

import java.util.List;

/**
 * @author 小林同学
 * @version 1.0
 * @description: 部门mapper层
 * @date 2023/2/18 17:40
 */
public interface EmployeeMapper extends BaseMapper<Employee> {
    // 根据部门id获取员工信息
    List<Employee> getEmpByDeptId(Long departmentId);


    Employee findByName(String username);

    Employee findByLogininfoId(Long LogininfoId);

    List<Employee> getEmployees(Long shopId);
}
